package hotel.switchs.oversea.api.feign;

import hotel.base.oversea.utils.Result;
import hotel.switchs.oversea.api.VO.request.GetMasterHotelListVo;
import hotel.switchs.oversea.api.feign.fallback.SwitchMasterHotelInfoServiceApiFallbackImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * 远程调用接口
 *
 * @author zhangjinzheng
 * @date 2020-04-29
 */
@FeignClient(value = "hotel-switchs-biz", fallback = SwitchMasterHotelInfoServiceApiFallbackImpl.class)
public interface SwitchBasicRoomServiceApi {

    /**
     * 获取母酒店物理房型信息
     *
     * @return
     */
    @PostMapping("/SwitchBasicRoomController/getdltbasicroomlist")
    Result<Object> getDltBasicRoomList(@RequestBody GetMasterHotelListVo getMasterHotelListVo);
}
